/*
 * @Author: xianfuyou
 * @Date: 2022-03-29 12:44:17
 * @LastEditors: your name
 * @LastEditTime: 2022-04-04 22:48:11
 * @Description: file content
 */
import React, { useState } from 'react'
import { Button } from 'antd'
import BtnHoc from '../BtnHoc/BtnHoc'
// 按钮组件
function CommBtn(props) {
  return (
    <>
      <Button {...props} size="small" type="primary" style={{ 'backgroundColor': props.bgcolor,'border':'0px' }}>{props.children}</Button>
    </>
  )
}
export default BtnHoc(CommBtn)
